export interface CreateOrUpdateCertificateRequestData {
  id?: string | undefined
  name: string
  name_en?: string
  img_url: string
  date: string
}

export interface GetCertificateRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
}

export interface GetCertificateDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetCertificateData {
  id: string
  name: string
  name_en?: string
  img_url: string
  date: string
}
export type GetCertificateResponeseDetailData = ApiResponseData<GetCertificateData>

export type GetCertificateResponseData = ApiResponseData<{
  list: GetCertificateData[]
  total: number
  page: number
}>
